import { createApp } from "vue";
import "./style.css";
import { createRouter, createWebHashHistory } from "vue-router";
import App from "./App.vue";
import routers from "./router/router";
const router = createRouter({
  history: createWebHashHistory(),
  routes: routers,
});
router.beforeEach((to, from, next) => {
  console.log("beforeEach");
  next();
});
createApp(App).use(router).mount("#app");
